EDIT:
You're partitioning $A$ into disjoint subsets $B_j$, each with sum $<m$.
I'll assume for simplicity all members of $A$ are integers.
Suppose you know you can do it with $N$ subsets. Let $x_{ij}$, $i \in A$, $j \in \{1,\ldots,N\}$, be a binary variable: interpret $x_{ij} = 1$ to mean $i$ is in set $B_j$, $x_{ij} = 0$ that it is not in $B_j$.
Let $y_j$, $j=1\ldots,n$ be a binary variable: interpret $y_j = 1$ to mean set $j$ is used. Then you have constraints
$$ \eqalign{\sum_i i x_{ij} \le (m-1) y_j & \forall j\cr
\sum_j x_{ij} = 1 & \forall i\cr
y_{j+1} \le y_{j} & \forall j \in \{1,\ldots,N-1\}\cr
x_{ij} , y_j\in \{0,1\} & \forall i,j\cr}$$
and you want to minimize $\sum_j y_j$.
Give it to an integer linear programming solver. If the problem is too big for that, you might try heuristic methods such as simulated annealing or tabu search.